package conditionsAPI;

public class NotDomainCondition extends ComposedDomainCondition{

	private NotCondition notCondition;
	
	public NotDomainCondition(DomainCondition domainCondition) throws ConditionDuplicatedException{
		Condition condition = domainCondition.getCondition();
		this.notCondition = new NotCondition(condition);
	}

	@Override
	protected ComposedCondition getComposedCondition() {
		return this.notCondition;
	}
}
